<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>RandomizeArray</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">RandomizeArray()</font></b></p>
<p><b>语法</b></p><blockquote>
<font color="#3A3966"><b>RandomizeArray</b></font>(ArrayName() [, Start, End])</blockquote>

</blockquote>
<b>概要</b><br><blockquote>



Reorders the elements of the given array in a random order. 

 

</blockquote><p><b>参数</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>ArrayName()</i></td>
<td width="90%"> 
 
The array to randomize. 

 

</td></tr>
<tr><td><i>Start, End (optional)</i></td>
<td> 
 
The index of the first and last element in the array that should be randomized. If these parameters 
are not specified, then the whole array is randomized. 

 

</td></tr>
</table>
</blockquote><p><b>返回值</b></p><blockquote>
无.


</blockquote><p><b>备注</b></p><blockquote>



This function uses the pseudorandom number generator of the <a href="../math/random.html">Random()</a> function to determine the new order of the array elements. 
It is therefore dependent on the current <a href="../math/randomseed.html">RandomSeed()</a>. 

 

</blockquote><p><b>参阅</b></p><blockquote>

<a href="sortarray.html">SortArray()</a>, <a href="sortstructuredarray.html">SortStructuredArray()</a>, <a href="randomizelist.html">RandomizeList()</a>, <a href="../math/random.html">Random()</a>, <a href="../math/randomseed.html">RandomSeed()</a> 

</Blockquote><p><b>已支持操作系统 </b><Blockquote>所有</Blockquote></p><center><a href="index.html">Sort Index</a> - <a href="randomizelist.html">RandomizeList()</a> -&gt;<br><br>

</body></html>